package org.dormnet.dao.bean;

public class Dormitory {
	private Integer dormid;
	private String dormname;
	private String smallimage;
	private String bigimage;
	private String motto;
	private String title;
	private String description;
	private int  visitrecord;
	private int  credits;
	
	public String getDormname() {
		return dormname;
	}
	public void setDormname(String dormname) {
		this.dormname = dormname;
	}
	public String getSmallimage() {
		return smallimage;
	}
	public void setSmallimage(String smallimage) {
		this.smallimage = smallimage;
	}
	public String getBigimage() {
		return bigimage;
	}
	public void setBigimage(String bigimage) {
		this.bigimage = bigimage;
	}
	public String getMotto() {
		return motto;
	}
	public Integer getDormid() {
		return dormid;
	}
	public void setDormid(Integer dormid) {
		this.dormid = dormid;
	}
	public void setMotto(String motto) {
		this.motto = motto;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getVisitrecord() {
		return visitrecord;
	}
	public void setVisitrecord(int visitrecord) {
		this.visitrecord = visitrecord;
	}
	public int getCredits() {
		return credits;
	}
	public void setCredits(int credits) {
		this.credits = credits;
	}
	@Override
	public String toString() {
		return "Dormitory [dormid=" + dormid + ", dormname=" + dormname
				+ ", smallimage=" + smallimage + ", bigimage=" + bigimage
				+ ", motto=" + motto + ", title=" + title + ", description="
				+ description + ", visitrecord=" + visitrecord + ", credits="
				+ credits + "]";
	}
	public Dormitory(Integer dormid, String dormname, String smallimage,
			String bigimage, String motto, String title, String description,
			int visitrecord, int credits) {
		super();
		this.dormid = dormid;
		this.dormname = dormname;
		this.smallimage = smallimage;
		this.bigimage = bigimage;
		this.motto = motto;
		this.title = title;
		this.description = description;
		this.visitrecord = visitrecord;
		this.credits = credits;
	}
	public Dormitory() {
		super();
	}
	
	
}
